package cn.kgc.dao;

import cn.kgc.entity.Student;

import java.sql.SQLException;
import java.util.List;

public interface StudentDao {

    //    begin:偏移量
    List<Student> selectStudentPage(int begin) throws SQLException;

    //    总记录数
    int getCount() throws SQLException;

    int delStudentByStudentNo(int studentNo);

    int insertStudent(Student student);

    Student select(int studentNo) throws SQLException;

    int update(Student student);
}
